package com.mutual.assistance.task.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "评论返回信息")
public class CommentDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty("唯一标识")
    private Long id;

    @ApiModelProperty("用户评论")
    private String content;

    @ApiModelProperty("评论者信息")
    private UserDTO user;

    @ApiModelProperty("任务id")
    private Long taskId;

    @ApiModelProperty("评论时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

}
